<%-- 
    Document   : register
    Created on : 2014/3/3, 下午 12:06:48
    Author     : Gjun
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>註冊</title>
    </head>
    <body>
        <form action="registerservlet" method="post">
            帳號：<input type="text" name="username" value="${param.username}"><br/>
            密碼：<input type="password" name="password" value="${param.password}"><br/>
            <input type="submit" />
        </form>

        <c:if test="${!empty error}">
            訊息: ${error}
        </c:if>
    </body>
</html>
